//
//  CLControl.h
//  CLBrowser
//
//  Created by chuck on 2021/7/8.
//

#import <UIKit/UIKit.h>
#import "YYGestureRecognizer.h"
NS_ASSUME_NONNULL_BEGIN
@class CLControl;
@interface CLControl : UIView
/// 图片
@property (nonatomic, readwrite , strong) UIImage *image;
@property (nonatomic, assign) CGRect imageFrame;
@property (nonatomic, assign) BOOL highLightEnable;
/// 点击回调
@property (nonatomic, readwrite, copy) void (^touchBlock)(CLControl *view, YYGestureRecognizerState state, NSSet *touches, UIEvent *event);
/// 长按回调
@property (nonatomic, readwrite, copy) void (^longPressBlock)(CLControl *view, CGPoint point);
@end

NS_ASSUME_NONNULL_END
